﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Common.Enums.SocketEnum;

namespace ZBJF.Warranty.Model.ViewModel.SocketModel
{
    public class CustomerPoolModel
    {
        public CustomerPoolModel(DateTime time, MessageTypeEnum messageType, string message)
        {
            this.Time = time;
            this.MessageType = messageType;
            this.Message = message;
        }
         public CustomerPoolModel(){}

        /// <summary>
        /// OpenId
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 消息时间
        /// </summary>
        public DateTime Time { get; set; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public MessageTypeEnum MessageType { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 多媒体文件的文件类型
        /// </summary>
        public string FileType { get; set; }
    }
}
